package com.wangyk.thymeleafproject.service.impl;

import com.wangyk.rabbitmqcommon.model.project.ProductInfo;
import com.wangyk.thymeleafproject.dao.ProductInfoMapper;
import com.wangyk.thymeleafproject.service.ProductInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProductInfoServiceImpl implements ProductInfoService
{
    @Resource
    private ProductInfoMapper productInfoMapper;

    public ProductInfo selectByPrimaryKey(Integer productId)
    {
        return productInfoMapper.selectByPrimaryKey(productId);
    }
}
